<?
	chdir("..");
	include("common.php");

	include("siteadmin/accesscontrol.php");

	include("siteadmin/header.php");

	if (!$step){$step = 1;}
	switch($step){
		case "1":													// user index
			include("siteadmin/users/uidx.php");
			break;
		case "2":													// edit users
			include("siteadmin/users/editu.php");
			break;
		case "3":
			break;
		case "4":													// delete users
			$sql = "DELETE FROM users WHERE uid=$uid";
			$qr1 = mysql_query($sql);
			include("siteadmin/users/uidx.php");		
			break;
		case "5":													// add new user
			include("siteadmin/users/addu.php");
			break;
		case "6":													// transfer money
			include("siteadmin/users/transfer.php");
			break;
		default:													// user index
			include("siteadmin/users/uidx.php");
			break;
	}
?>